<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>GERENCIA PROJETOS</title>
    <meta name="keywords" content="projeto, teste, desenvolvimento, php, codeigniter, doctrine" />
    <meta name="description" content="gerenciaprojeto.esy.es" />

    <link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/js/jquery/jquery-ui-1.10.3.custom/development-bundle/themes/smoothness/jquery-ui.css'); ?>" />
    <script type="text/javascript" src="<?php echo base_url('assets/js/jquery/jquery.js'); ?>"></script>
    <script type="text/javascript" src="<?php echo base_url('assets/js/jquery/jquery-ui-1.10.3.custom/js/jquery-ui-1.10.3.custom.js'); ?>"></script>

    <link href="<?php echo base_url('assets/css/template_style.css'); ?>" rel="stylesheet" type="text/css" />
    <link href="<?php echo base_url('assets/css/template_login_style.css'); ?>" rel="stylesheet" type="text/css" />
    <link href="<?php echo base_url('assets/css/menu/style.css'); ?>" rel="stylesheet" type="text/css" />
    <link href="<?php echo base_url('assets/css/menu/menu1.css'); ?>" rel="stylesheet" type="text/css" />
    <script src="<?php echo base_url('assets/js/jquery/jquery-slidedeck/jquery-slidedeck.pack.lite.js'); ?>" type="text/javascript"></script>
    <script src="<?php echo base_url('assets/js/jquery/datetimepicker/datetimepicker.js'); ?>"></script>
    <script src="<?php echo base_url('assets/js/funcoes.js'); ?>" type="text/javascript"></script>
</head>
<body>

<div id="template_body_wrapper">
<?php
                // o arquivo de template a ser incluido foi informado?
                if(!empty($_template)) {
                    // procuramos ele a partir deste arquivo
                    $_template = dirname(__FILE__) . '/' . $_template;
                    // se existir, fazemos o include
                    if(file_exists($_template)){
                        include $_template;
                    // se nao existir, enviamos uma mensagem
                    } else {
                        echo 'Template "', $_template, '" não existe!';
                    }
                // se nao informou, enviamos uma mensagem
                } else {
                    echo 'Template nao informado!';
                }
?>
         
    
</div> <!-- END of template_body_wrapper -->

</body>
</html>